package cn.tedu.hotel.serve.service;

import cn.tedu.hotel.serve.pojo.entity.secondary.Banner;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ISecondaryBannerService {
    List<Banner> select();

    void deleteById(Long id);

    void insert(String url);

    Banner selectById(Long id);

    void update(Banner banner);
}
